﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.DAO;
using Com.CMS263.PO;

namespace Com.CMS263.BLL
{
    public class ReservationBLL : BaseBLL<Reservation>
    {
        ReservationDAO dao = new ReservationDAO();
        public Reservation entity = new Reservation();
        public override Reservation GetModel()
        {
            return entity;
        }
        public int GetMaxId()
        {
            return dao.GetMaxId();
        }
        public IList<Reservation> GetListByPager(int page, int pagesize, int usertype)
        {
            return dao.GetListByPager(page, pagesize, usertype);
        }
        public int GetListByPager(int usertype)
        {
            return dao.GetListByPager(usertype);
        }
        
    }
}
